export interface DataPreviewItem {
	//扩展的schema数据类型
	type: string;
	label: string;
	tooltip: string;
	icon: string;
}
export interface DataPreviewType {
	[key: string]: DataPreviewItem;
}
export const DataPreview: DataPreviewType = {
	configAlarm: { type: "configAlarm", label: "告警", tooltip: "点击配置变量告警规则", icon: "iconsettings1" },
	dict: { type: "dict", label: "详情", tooltip: "点击配置变量详情", icon: "iconbook1" },
	alarmData: { type: "alarm", label: "告警", tooltip: "查看告警記錄", icon: "iconbx-line-chart" },
	historyChart: { type: "chart", label: "数据", tooltip: "点击查看变量详情数据", icon: "iconbx-line-chart" },
	location: { type: "location", label: "位置", tooltip: "点击查看历史轨迹", icon: "iconmap-pin" },
	video: { type: "video", label: "视频", tooltip: "点击查看视频信息", icon: "iconfilm" },
	web: { type: "web", label: "网页", tooltip: "点击打开网页", icon: "iconbx-world" },
	img: { type: "img", label: "图片", tooltip: "点击查看历史图片", icon: "iconbx-image" },
	file: { type: "file", label: "文件", tooltip: "点击查看文件", icon: "iconbx-file" }
};
